Skip to content

fix: update scripts for automated testing#63

Open
0xreflexivity wants to merge 3 commits intoflare-foundation:mainfrom
0xreflexivity:fix/starters-tester-fixes
Open

fix: update scripts for automated testing#63
0xreflexivity wants to merge 3 commits intoflare-foundation:mainfrom
0xreflexivity:fix/starters-tester-fixes

Conversation

@0xreflexivity
Copy link
Contributor

Update scripts for compatibility with the starters-tester Docker CI:

  • Fetch fresh tx/block data dynamically in FDC examples to avoid stale DA layer proofs
  • Fix JQ filters for FDC verifier subset (no tonumber/floor/pow support)
  • Switch ReferencedPaymentNonexistence to testXRP (testBTC endpoint down)
  • Add fassets minting pipeline config chaining (reserve → pay → mint → redeem)
  • Decode response_hex in executeMinting for v1 DA API compatibility
  • Fix mintingCap fully qualified ERC20 import
  • Guard empty tokenTransfers array in crossChainPayment
  • Replace dead beeceptor mock with httpbin.org in proofOfReserves
  • Simplify weatherInsurance JQ filters for verifier compatibility
  • Validate abiEncodedRequest before fee estimation in fdc utils

- fdcExample: fetch fresh tx/block data dynamically to avoid stale DA layer proofs
- fdcExample: fix JQ filters for FDC verifier subset (no tonumber/floor/pow)
- fdcExample: switch ReferencedPaymentNonexistence to testXRP (testBTC endpoint down)
- fassets: add minting pipeline config chaining (reserve → pay → mint → redeem)
- fassets: decode response_hex in executeMinting (v1 DA API compatibility)
- fassets: fix mintingCap fully qualified ERC20 import
- crossChainPayment: guard empty tokenTransfers array
- proofOfReserves: replace dead beeceptor mock with httpbin.org
- weatherInsurance: simplify JQ filters for verifier compatibility
- fdc utils: validate abiEncodedRequest before fee estimation
- Add null guard for windDeg in minTemp and weatherId resolvePolicy
- Use 0 instead of null for all weather fallbacks (ABI encoding)
The FDC verifier JQ subset does not support the % operator.
Multiplication alone produces clean integers for these use cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant